package client;

import java.awt.Color;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class PlayerPanel extends JPanel {
	private JLabel nameLabel;
	private JLabel attributeLabel;
	private JLabel betValueLabel;
	private JLabel bankrollLabel;
	private JLabel auctionLabel;
	public String getText;

	public PlayerPanel() {
		super();

		setLayout(new GridLayout(5, 1));
		setBackground(new Color(220, 220, 220));

		nameLabel = new JLabel();
		add(nameLabel);
		attributeLabel = new JLabel();
		add(attributeLabel);
		betValueLabel = new JLabel();
		add(betValueLabel);
		bankrollLabel = new JLabel();
		add(bankrollLabel);
		auctionLabel = new JLabel();
		add(auctionLabel);
	}

	public void setNameLabelText(String setText) {
		this.nameLabel.setText(setText);
	}

	public void setAttributeLabelText(String setText) {
		this.attributeLabel.setText(setText);
	}

	public void setBetValueLabelText(String setText) {
		this.betValueLabel.setText(setText);
	}

	public void setBankrollLabelText(String setText) {
		this.bankrollLabel.setText(setText);
	}

	public String getBankrollLabelText() {
		return bankrollLabel.getText();
	}

	public void setAuctionLabelText(String setText) {
		this.auctionLabel.setText(setText);
	}
}
